<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/subdivface.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">subdivface.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="subdivface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*###############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                           *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                    *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                               *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                              *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an                *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for      *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                          *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                 *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                               *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                       *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                                *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under             *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                           *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)            *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                        *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY           *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A           *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                  *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with              *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                        *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                     *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *##############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef SUBDIVFACE_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define SUBDIVFACE_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;QVector3D&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;QColor&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivbase_8h.html">subdivbase.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a> {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;  <span class="keyword">class </span>SubdivisionPoint;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  <span class="keyword">class </span>SubdivisionLayer;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  <span class="keyword">class </span>SubdivisionEdge;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="keyword">class </span>SubdivisionControlCurve;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;  <span class="keyword">class </span>SubdivisionControlPoint;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keyword">class </span>SubdivisionControlEdge;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keyword">class </span>Viewport;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;  <span class="keyword">class </span>LineShader;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  <span class="keyword">class </span>FileBuffer;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  <span class="keyword">class </span>FaceShader;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <span class="keyword">class </span>CurveFaceShader;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keyword">struct </span>PickRay;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionFace.html">   58</a></span>&#160;  <span class="keyword">class </span><a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1SubdivisionBase.html">SubdivisionBase</a></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  {</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keyword">public</span>:</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a082f81f7a5750f7e53ed5a92ddc82350">SubdivisionFace</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionFace.html#a8d6c25b6b03eddb875c25e8cee6ca976">   67</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a8d6c25b6b03eddb875c25e8cee6ca976">~SubdivisionFace</a>() {}</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    </div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="comment">// modifiers</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment"></span>    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a16d5e005d1c7c847ccf9ba72b67142fa">flipNormal</a>();</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a553df49a1137f89d2df2846ffca74842">addPoint</a>(<a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* point);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#aacd383eb085c4f6b92db89e25be6b3a1">insertPoint</a>(<span class="keywordtype">size_t</span> index, <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* point);</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a413ae7e76f559780c8a69e998974fb75">clear</a>();</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a934edbf44e524a2ec250f896c3cc182d">subdivide</a>(</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;               <span class="keywordtype">bool</span> controlface,</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;               std::vector&lt;std::pair&lt;SubdivisionPoint*,SubdivisionPoint*&gt; &gt; &amp;vertexpoints,</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;               std::vector&lt;std::pair&lt;SubdivisionEdge*,SubdivisionPoint*&gt; &gt; &amp;edgepoints,</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;               std::vector&lt;std::pair&lt;SubdivisionFace*,SubdivisionPoint*&gt; &gt; &amp;facepoints,</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;               std::vector&lt;SubdivisionEdge*&gt;&amp; interioredges,</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;               std::vector&lt;SubdivisionEdge*&gt;&amp; controledges,</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;               std::vector&lt;SubdivisionFace*&gt;&amp; dest);</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="comment">// getters/setters</span></div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionFace.html#abd79b6dfadd10befe94b524a34063b27">  122</a></span>&#160;<span class="comment"></span>    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#abd79b6dfadd10befe94b524a34063b27">numberOfPoints</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#ae1178fe10860c57e3e54a397b4dc7b4b">_points</a>.size(); }</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a02d048ba8de79787bc692e5f20fd276e">hasPoint</a>(<span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* pt) <span class="keyword">const</span>;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a68bc7676c4f254ddb19e04f8cb5ba76f">getPoint</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a5da55a479cd54b90fc0ec5d0bedb9279">getLastPoint</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionFace.html#aeb9c6f01f3896dc39819265922a04892">calculateFacePoint</a>();</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a13b147bdc2d5fda0dcbc6de240bc05cd">indexOfPoint</a>(<span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* pt) <span class="keyword">const</span>;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a1f27fc04bf353dd6295da574fa97c1f8">getArea</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1SubdivisionFace.html#ab22c43ec3d209a9f7b0b9bfe5d609508">getFaceCenter</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a94b07cf08781a9d80caf14a8f97df148">getFaceNormal</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#aba3fbf26d70b4eb3ef245c7f7cb16e03">intersectWithRay</a>(<span class="keyword">const</span> <a class="code" href="structShipCAD_1_1PickRay.html">PickRay</a>&amp; ray) <span class="keyword">const</span>;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    </div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="comment">// output</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#aa5bd261ae5fc0a1c7fe8cc5328b8477f">dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix = <span class="stringliteral">&quot;&quot;</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="comment">// makers</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="keyword">static</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a>* <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a4a6f182fa7e5cf63fc95c7614805f136">construct</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;  <span class="keyword">protected</span>:</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#ab2f647963b552728f40d8c329318676e">priv_dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix) <span class="keyword">const</span>;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="comment">// used in subdivide</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="comment"></span>    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a5399f7ec8ed458f6dbc733688c006cf8">edgeCheck</a>(<a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p1,</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;                   <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p2,</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                   <span class="keywordtype">bool</span> crease,</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                   <span class="keywordtype">bool</span> controledge,</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;                   <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>* curve,</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;                   std::vector&lt;SubdivisionEdge*&gt; &amp;interioredges,</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                   std::vector&lt;SubdivisionEdge*&gt; &amp;controledges);</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;  <span class="keyword">protected</span>:</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionFace.html#ae1178fe10860c57e3e54a397b4dc7b4b">  211</a></span>&#160;    std::vector&lt;SubdivisionPoint*&gt; <a class="code" href="classShipCAD_1_1SubdivisionFace.html#ae1178fe10860c57e3e54a397b4dc7b4b">_points</a>; </div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;  };</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a14b9ceea38e54192b32764021161d199">  214</a></span>&#160;  <span class="keyword">typedef</span> std::vector&lt;SubdivisionFace*&gt;::iterator <a class="code" href="namespaceShipCAD.html#a14b9ceea38e54192b32764021161d199">subdivface_iter</a>;</div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a6371e9995f829935912575008f969c1c">  215</a></span>&#160;  <span class="keyword">typedef</span> std::vector&lt;SubdivisionFace*&gt;::const_iterator <a class="code" href="namespaceShipCAD.html#a6371e9995f829935912575008f969c1c">const_subdivface_iter</a>;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    </div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html">  219</a></span>&#160;  <span class="keyword">class </span><a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a></div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;  {</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;  <span class="keyword">public</span>:</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a1e94611e4050ee3b5b5779f087a9ddaf">  228</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a1e94611e4050ee3b5b5779f087a9ddaf">~SubdivisionControlFace</a>() {}</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <span class="comment">// modifiers</span></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="comment"></span>    <span class="keywordtype">void</span> removeFace();</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keywordtype">void</span> calcExtents();</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a413ae7e76f559780c8a69e998974fb75">clear</a>();</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <span class="keywordtype">void</span> clearChildren();</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a390a79e26ced82b4a879aebd0c1dc862">  251</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a390a79e26ced82b4a879aebd0c1dc862">clearControlEdges</a>() {_control_edges.clear();}</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a>* insertControlEdge(<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p1,</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;                                              <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p2,</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;                                              <span class="keywordtype">bool</span>&amp; deleteme);</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    <span class="keywordtype">void</span> removeReferences();</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a934edbf44e524a2ec250f896c3cc182d">subdivide</a>(</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;               std::vector&lt;std::pair&lt;SubdivisionPoint*,SubdivisionPoint*&gt; &gt; &amp;vertexpoints,</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;               std::vector&lt;std::pair&lt;SubdivisionEdge*,SubdivisionPoint*&gt; &gt; &amp;edgepoints,</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;               std::vector&lt;std::pair&lt;SubdivisionFace*,SubdivisionPoint*&gt; &gt; &amp;facepoints,</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;               std::vector&lt;SubdivisionEdge*&gt;&amp; controledges);</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keywordtype">void</span> trace();</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    <span class="comment">// getters/setters</span></div><div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a25e4ea676adc327a430b50a81e91ef9d">  307</a></span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a25e4ea676adc327a430b50a81e91ef9d">getLayer</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> _layer;}</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <span class="keywordtype">void</span> setLayer(<a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* layer);</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a>* getChild(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a6a79fec036f3d7d52214a280e878a038">  310</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a6a79fec036f3d7d52214a280e878a038">numberOfChildren</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _children.size(); }</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    QColor getColor() <span class="keyword">const</span>;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* getControlEdge(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div><div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a3f2351019487ed20295fa8c7995b9416">  313</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a3f2351019487ed20295fa8c7995b9416">numberOfControlEdges</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _control_edges.size(); }</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* getEdge(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a1c11d167b9efa21ed6c0a98ca15725f1">  315</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a1c11d167b9efa21ed6c0a98ca15725f1">numberOfEdges</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _edges.size(); }</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <span class="keywordtype">bool</span> isSelected() <span class="keyword">const</span>;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    <span class="keywordtype">bool</span> isVisible() <span class="keyword">const</span>;</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    <span class="keywordtype">void</span> setSelected(<span class="keywordtype">bool</span> val);</div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a9e205ab09b4660ab2b5377afaa620cd6">  319</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a9e205ab09b4660ab2b5377afaa620cd6">getMin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _min; }</div><div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a58ee183f9aef669fe96ccf36789999c2">  320</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a58ee183f9aef669fe96ccf36789999c2">getMax</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _max; }</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    <span class="comment">// iterators to beginning/ending of _children list</span></div><div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#ad20ed50df8ddd91c4aa04eb482ab0fa0">  322</a></span>&#160;    std::vector&lt;SubdivisionFace*&gt;::iterator <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#ad20ed50df8ddd91c4aa04eb482ab0fa0">childrenBegin</a>() {<span class="keywordflow">return</span> _children.begin();}</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#acff2f413eceb70e345640c4519fb50bb">  323</a></span>&#160;    std::vector&lt;SubdivisionFace*&gt;::iterator <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#acff2f413eceb70e345640c4519fb50bb">childrenEnd</a>() {<span class="keywordflow">return</span> _children.end();}</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <span class="comment">// persistence</span></div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    <span class="keywordtype">void</span> loadBinary(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; source);</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    <span class="keywordtype">void</span> saveBinary(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; destination) <span class="keyword">const</span>;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <span class="keywordtype">void</span> saveToDXF(QStringList&amp; strings) <span class="keyword">const</span>;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    <span class="keywordtype">void</span> saveToStream(QStringList&amp; strings) <span class="keyword">const</span>;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    <span class="keywordtype">void</span> loadFromStream(<span class="keywordtype">size_t</span>&amp; lineno, QStringList&amp; strings);</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    <span class="comment">// drawing</span></div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> draw(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader);</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawFaces(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1FaceShader.html">FaceShader</a>* shader);</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawCurvatureFaces(<a class="code" href="classShipCAD_1_1CurveFaceShader.html">CurveFaceShader</a>* shader, <span class="keywordtype">float</span> MinCurvature, <span class="keywordtype">float</span> MaxCurvature);</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawDevelopableFaces(<a class="code" href="classShipCAD_1_1CurveFaceShader.html">CurveFaceShader</a>* shader);</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawZebraFaces(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1CurveFaceShader.html">CurveFaceShader</a>* shader);</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    <span class="comment">// output</span></div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#aa5bd261ae5fc0a1c7fe8cc5328b8477f">dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix = <span class="stringliteral">&quot;&quot;</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    <span class="comment">// makers</span></div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    <span class="keyword">static</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>* <a class="code" href="classShipCAD_1_1SubdivisionFace.html#a4a6f182fa7e5cf63fc95c7614805f136">construct</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;  <span class="keyword">protected</span>:</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html#ab2f647963b552728f40d8c329318676e">priv_dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix) <span class="keyword">const</span>;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="comment">// used in trace</span></div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <span class="keywordtype">void</span> findAttachedFaces(std::vector&lt;SubdivisionControlFace*&gt;&amp; todo_list,</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;                           <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">SubdivisionControlFace</a>* face);</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;  <span class="keyword">protected</span>:</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div><div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#aee1990d4db7127ba59117a65c1a6ce7e">  354</a></span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionLayer.html">SubdivisionLayer</a>* <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#aee1990d4db7127ba59117a65c1a6ce7e">_layer</a>;   </div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#aac4f577da0f5203059901c5e09814e1d">  355</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#aac4f577da0f5203059901c5e09814e1d">_min</a>;             </div><div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a22411574593283209772872bc740535b">  356</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a22411574593283209772872bc740535b">_max</a>;             </div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a116749a1de58ad46f68ad7e92031e673">  357</a></span>&#160;    std::vector&lt;SubdivisionFace*&gt; <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a116749a1de58ad46f68ad7e92031e673">_children</a>;    </div><div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a390f626d9999ab3ce48878b223ea1693">  358</a></span>&#160;    std::vector&lt;SubdivisionEdge*&gt; <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a390f626d9999ab3ce48878b223ea1693">_edges</a>;       </div><div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a33d7e2ecd5f42edf5492efb83df3856b">  359</a></span>&#160;    std::vector&lt;SubdivisionEdge*&gt; <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a33d7e2ecd5f42edf5492efb83df3856b">_control_edges</a>;   </div><div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a5383fb638609da875d97457db86cd4df">  360</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a5383fb638609da875d97457db86cd4df">_vertices1</a>;           </div><div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlFace.html#a1fbe1fd20344cf8dc19bf3489f774205">  361</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html#a1fbe1fd20344cf8dc19bf3489f774205">_vertices2</a>;           </div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;  };</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a10428817114540e55d0c0b8668cb2579">  364</a></span>&#160;  <span class="keyword">typedef</span> std::vector&lt;SubdivisionControlFace*&gt;::iterator <a class="code" href="namespaceShipCAD.html#a10428817114540e55d0c0b8668cb2579">subdivctlface_iter</a>;</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a18309973422a59f794be8aa48b9048e8">  365</a></span>&#160;  <span class="keyword">typedef</span> std::vector&lt;SubdivisionControlFace*&gt;::const_iterator <a class="code" href="namespaceShipCAD.html#a18309973422a59f794be8aa48b9048e8">const_subdivctlface_iter</a>;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    </div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;};              <span class="comment">/* end namespace */</span></div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;std::ostream&amp; <a class="code" href="subdivface_8h.html#a1d2181dda9afeb5f08a690ca96d231b8">operator &lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html">ShipCAD::SubdivisionFace</a>&amp; face);</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;std::ostream&amp; <a class="code" href="subdivface_8h.html#a1d2181dda9afeb5f08a690ca96d231b8">operator &lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionControlFace.html">ShipCAD::SubdivisionControlFace</a>&amp; face);</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div><div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a390a79e26ced82b4a879aebd0c1dc862"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a390a79e26ced82b4a879aebd0c1dc862">ShipCAD::SubdivisionControlFace::clearControlEdges</a></div><div class="ttdeci">void clearControlEdges()</div><div class="ttdoc">remove all control edges of this face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00251">subdivface.h:251</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a8d6c25b6b03eddb875c25e8cee6ca976"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a8d6c25b6b03eddb875c25e8cee6ca976">ShipCAD::SubdivisionFace::~SubdivisionFace</a></div><div class="ttdeci">virtual ~SubdivisionFace()</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00067">subdivface.h:67</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a1fbe1fd20344cf8dc19bf3489f774205"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a1fbe1fd20344cf8dc19bf3489f774205">ShipCAD::SubdivisionControlFace::_vertices2</a></div><div class="ttdeci">size_t _vertices2</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00361">subdivface.h:361</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html">ShipCAD::SubdivisionControlPoint</a></div><div class="ttdoc">3D Control point </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00208">subdivpoint.h:208</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a58ee183f9aef669fe96ccf36789999c2"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a58ee183f9aef669fe96ccf36789999c2">ShipCAD::SubdivisionControlFace::getMax</a></div><div class="ttdeci">QVector3D getMax() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00320">subdivface.h:320</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a413ae7e76f559780c8a69e998974fb75"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a413ae7e76f559780c8a69e998974fb75">ShipCAD::SubdivisionFace::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdoc">reset point attributes to default values </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00231">subdivface.cpp:231</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_acff2f413eceb70e345640c4519fb50bb"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#acff2f413eceb70e345640c4519fb50bb">ShipCAD::SubdivisionControlFace::childrenEnd</a></div><div class="ttdeci">std::vector&lt; SubdivisionFace * &gt;::iterator childrenEnd()</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00323">subdivface.h:323</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_aeb9c6f01f3896dc39819265922a04892"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#aeb9c6f01f3896dc39819265922a04892">ShipCAD::SubdivisionFace::calculateFacePoint</a></div><div class="ttdeci">SubdivisionPoint * calculateFacePoint()</div><div class="ttdoc">Get point on center of face for subdivision. </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00213">subdivface.cpp:213</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_ab2f647963b552728f40d8c329318676e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#ab2f647963b552728f40d8c329318676e">ShipCAD::SubdivisionFace::priv_dump</a></div><div class="ttdeci">void priv_dump(std::ostream &amp;os, const char *prefix) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00419">subdivface.cpp:419</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html">ShipCAD::SubdivisionEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00054">subdivedge.h:54</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a22411574593283209772872bc740535b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a22411574593283209772872bc740535b">ShipCAD::SubdivisionControlFace::_max</a></div><div class="ttdeci">QVector3D _max</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00356">subdivface.h:356</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a6371e9995f829935912575008f969c1c"><div class="ttname"><a href="namespaceShipCAD.html#a6371e9995f829935912575008f969c1c">ShipCAD::const_subdivface_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionFace * &gt;::const_iterator const_subdivface_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00215">subdivface.h:215</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a934edbf44e524a2ec250f896c3cc182d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a934edbf44e524a2ec250f896c3cc182d">ShipCAD::SubdivisionFace::subdivide</a></div><div class="ttdeci">virtual void subdivide(bool controlface, std::vector&lt; std::pair&lt; SubdivisionPoint *, SubdivisionPoint * &gt; &gt; &amp;vertexpoints, std::vector&lt; std::pair&lt; SubdivisionEdge *, SubdivisionPoint * &gt; &gt; &amp;edgepoints, std::vector&lt; std::pair&lt; SubdivisionFace *, SubdivisionPoint * &gt; &gt; &amp;facepoints, std::vector&lt; SubdivisionEdge * &gt; &amp;interioredges, std::vector&lt; SubdivisionEdge * &gt; &amp;controledges, std::vector&lt; SubdivisionFace * &gt; &amp;dest)</div><div class="ttdoc">subdivide the face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00279">subdivface.cpp:279</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_aac4f577da0f5203059901c5e09814e1d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#aac4f577da0f5203059901c5e09814e1d">ShipCAD::SubdivisionControlFace::_min</a></div><div class="ttdeci">QVector3D _min</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00355">subdivface.h:355</a></div></div>
<div class="ttc" id="classShipCAD_1_1CurveFaceShader_html"><div class="ttname"><a href="classShipCAD_1_1CurveFaceShader.html">ShipCAD::CurveFaceShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00152">shader.h:152</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a5383fb638609da875d97457db86cd4df"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a5383fb638609da875d97457db86cd4df">ShipCAD::SubdivisionControlFace::_vertices1</a></div><div class="ttdeci">size_t _vertices1</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00360">subdivface.h:360</a></div></div>
<div class="ttc" id="classShipCAD_1_1FaceShader_html"><div class="ttname"><a href="classShipCAD_1_1FaceShader.html">ShipCAD::FaceShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00097">shader.h:97</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_aee1990d4db7127ba59117a65c1a6ce7e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#aee1990d4db7127ba59117a65c1a6ce7e">ShipCAD::SubdivisionControlFace::_layer</a></div><div class="ttdeci">SubdivisionLayer * _layer</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00354">subdivface.h:354</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a1c11d167b9efa21ed6c0a98ca15725f1"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a1c11d167b9efa21ed6c0a98ca15725f1">ShipCAD::SubdivisionControlFace::numberOfEdges</a></div><div class="ttdeci">size_t numberOfEdges() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00315">subdivface.h:315</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionBase_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionBase.html">ShipCAD::SubdivisionBase</a></div><div class="ttdoc">the base class for all subdivision points, edges and faces </div><div class="ttdef"><b>Definition:</b> <a href="subdivbase_8h_source.html#l00045">subdivbase.h:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a9e205ab09b4660ab2b5377afaa620cd6"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a9e205ab09b4660ab2b5377afaa620cd6">ShipCAD::SubdivisionControlFace::getMin</a></div><div class="ttdeci">QVector3D getMin() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00319">subdivface.h:319</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a16d5e005d1c7c847ccf9ba72b67142fa"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a16d5e005d1c7c847ccf9ba72b67142fa">ShipCAD::SubdivisionFace::flipNormal</a></div><div class="ttdeci">void flipNormal()</div><div class="ttdoc">swap normal vector to other face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00236">subdivface.cpp:236</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="structShipCAD_1_1PickRay_html"><div class="ttname"><a href="structShipCAD_1_1PickRay.html">ShipCAD::PickRay</a></div><div class="ttdoc">a pick ray (line) </div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00171">shipcadlib.h:171</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_ae1178fe10860c57e3e54a397b4dc7b4b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#ae1178fe10860c57e3e54a397b4dc7b4b">ShipCAD::SubdivisionFace::_points</a></div><div class="ttdeci">std::vector&lt; SubdivisionPoint * &gt; _points</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00211">subdivface.h:211</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a390f626d9999ab3ce48878b223ea1693"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a390f626d9999ab3ce48878b223ea1693">ShipCAD::SubdivisionControlFace::_edges</a></div><div class="ttdeci">std::vector&lt; SubdivisionEdge * &gt; _edges</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00358">subdivface.h:358</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html">ShipCAD::SubdivisionFace</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00058">subdivface.h:58</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a13b147bdc2d5fda0dcbc6de240bc05cd"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a13b147bdc2d5fda0dcbc6de240bc05cd">ShipCAD::SubdivisionFace::indexOfPoint</a></div><div class="ttdeci">size_t indexOfPoint(const SubdivisionPoint *pt) const </div><div class="ttdoc">get index of point for this face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00066">subdivface.cpp:66</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a6a79fec036f3d7d52214a280e878a038"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a6a79fec036f3d7d52214a280e878a038">ShipCAD::SubdivisionControlFace::numberOfChildren</a></div><div class="ttdeci">size_t numberOfChildren() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00310">subdivface.h:310</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a5da55a479cd54b90fc0ec5d0bedb9279"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a5da55a479cd54b90fc0ec5d0bedb9279">ShipCAD::SubdivisionFace::getLastPoint</a></div><div class="ttdeci">SubdivisionPoint * getLastPoint() const </div><div class="ttdoc">get last point in face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00154">subdivface.cpp:154</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a116749a1de58ad46f68ad7e92031e673"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a116749a1de58ad46f68ad7e92031e673">ShipCAD::SubdivisionControlFace::_children</a></div><div class="ttdeci">std::vector&lt; SubdivisionFace * &gt; _children</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00357">subdivface.h:357</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html">ShipCAD::SubdivisionControlFace</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00219">subdivface.h:219</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a25e4ea676adc327a430b50a81e91ef9d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a25e4ea676adc327a430b50a81e91ef9d">ShipCAD::SubdivisionControlFace::getLayer</a></div><div class="ttdeci">SubdivisionLayer * getLayer() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00307">subdivface.h:307</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a4a6f182fa7e5cf63fc95c7614805f136"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a4a6f182fa7e5cf63fc95c7614805f136">ShipCAD::SubdivisionFace::construct</a></div><div class="ttdeci">static SubdivisionFace * construct(SubdivisionSurface *owner)</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00054">subdivface.cpp:54</a></div></div>
<div class="ttc" id="subdivbase_8h_html"><div class="ttname"><a href="subdivbase_8h.html">subdivbase.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html">ShipCAD::FileBuffer</a></div><div class="ttdoc">in-memory buffer for a binary file (FREE!Ship format) </div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8h_source.html#l00052">filebuffer.h:52</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a68bc7676c4f254ddb19e04f8cb5ba76f"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a68bc7676c4f254ddb19e04f8cb5ba76f">ShipCAD::SubdivisionFace::getPoint</a></div><div class="ttdeci">SubdivisionPoint * getPoint(size_t index) const </div><div class="ttdoc">get face point </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00147">subdivface.cpp:147</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a553df49a1137f89d2df2846ffca74842"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a553df49a1137f89d2df2846ffca74842">ShipCAD::SubdivisionFace::addPoint</a></div><div class="ttdeci">void addPoint(SubdivisionPoint *point)</div><div class="ttdoc">add a point to the face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00161">subdivface.cpp:161</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a33d7e2ecd5f42edf5492efb83df3856b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a33d7e2ecd5f42edf5492efb83df3856b">ShipCAD::SubdivisionControlFace::_control_edges</a></div><div class="ttdeci">std::vector&lt; SubdivisionEdge * &gt; _control_edges</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00359">subdivface.h:359</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_ad20ed50df8ddd91c4aa04eb482ab0fa0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#ad20ed50df8ddd91c4aa04eb482ab0fa0">ShipCAD::SubdivisionControlFace::childrenBegin</a></div><div class="ttdeci">std::vector&lt; SubdivisionFace * &gt;::iterator childrenBegin()</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00322">subdivface.h:322</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html">ShipCAD::SubdivisionControlEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00116">subdivedge.h:116</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_aba3fbf26d70b4eb3ef245c7f7cb16e03"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#aba3fbf26d70b4eb3ef245c7f7cb16e03">ShipCAD::SubdivisionFace::intersectWithRay</a></div><div class="ttdeci">bool intersectWithRay(const PickRay &amp;ray) const </div><div class="ttdoc">does a ray intersect this face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00198">subdivface.cpp:198</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a3f2351019487ed20295fa8c7995b9416"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a3f2351019487ed20295fa8c7995b9416">ShipCAD::SubdivisionControlFace::numberOfControlEdges</a></div><div class="ttdeci">size_t numberOfControlEdges() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00313">subdivface.h:313</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a14b9ceea38e54192b32764021161d199"><div class="ttname"><a href="namespaceShipCAD.html#a14b9ceea38e54192b32764021161d199">ShipCAD::subdivface_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionFace * &gt;::iterator subdivface_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00214">subdivface.h:214</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_abd79b6dfadd10befe94b524a34063b27"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#abd79b6dfadd10befe94b524a34063b27">ShipCAD::SubdivisionFace::numberOfPoints</a></div><div class="ttdeci">size_t numberOfPoints() const </div><div class="ttdoc">number of points for this face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00122">subdivface.h:122</a></div></div>
<div class="ttc" id="subdivface_8h_html_a1d2181dda9afeb5f08a690ca96d231b8"><div class="ttname"><a href="subdivface_8h.html#a1d2181dda9afeb5f08a690ca96d231b8">operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const ShipCAD::SubdivisionFace &amp;face)</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00424">subdivface.cpp:424</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html"><div class="ttname"><a href="classShipCAD_1_1LineShader.html">ShipCAD::LineShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00075">shader.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_ab22c43ec3d209a9f7b0b9bfe5d609508"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#ab22c43ec3d209a9f7b0b9bfe5d609508">ShipCAD::SubdivisionFace::getFaceCenter</a></div><div class="ttdeci">QVector3D getFaceCenter() const </div><div class="ttdoc">get coordinates of the center of the face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00103">subdivface.cpp:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionLayer_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionLayer.html">ShipCAD::SubdivisionLayer</a></div><div class="ttdoc">Layer, collection of SubdivisionControlFaces. </div><div class="ttdef"><b>Definition:</b> <a href="subdivlayer_8h_source.html#l00061">subdivlayer.h:61</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a10428817114540e55d0c0b8668cb2579"><div class="ttname"><a href="namespaceShipCAD.html#a10428817114540e55d0c0b8668cb2579">ShipCAD::subdivctlface_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlFace * &gt;::iterator subdivctlface_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00364">subdivface.h:364</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a94b07cf08781a9d80caf14a8f97df148"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a94b07cf08781a9d80caf14a8f97df148">ShipCAD::SubdivisionFace::getFaceNormal</a></div><div class="ttdeci">QVector3D getFaceNormal() const </div><div class="ttdoc">get coordinates of the face normal </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00116">subdivface.cpp:116</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_aacd383eb085c4f6b92db89e25be6b3a1"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#aacd383eb085c4f6b92db89e25be6b3a1">ShipCAD::SubdivisionFace::insertPoint</a></div><div class="ttdeci">void insertPoint(size_t index, SubdivisionPoint *point)</div><div class="ttdoc">insert a new point into the face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00072">subdivface.cpp:72</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a18309973422a59f794be8aa48b9048e8"><div class="ttname"><a href="namespaceShipCAD.html#a18309973422a59f794be8aa48b9048e8">ShipCAD::const_subdivctlface_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlFace * &gt;::const_iterator const_subdivctlface_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00365">subdivface.h:365</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_aa5bd261ae5fc0a1c7fe8cc5328b8477f"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#aa5bd261ae5fc0a1c7fe8cc5328b8477f">ShipCAD::SubdivisionFace::dump</a></div><div class="ttdeci">virtual void dump(std::ostream &amp;os, const char *prefix=&quot;&quot;) const </div><div class="ttdoc">print out the element to a stream </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00412">subdivface.cpp:412</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html">ShipCAD::SubdivisionControlCurve</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00056">subdivcontrolcurve.h:56</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a1f27fc04bf353dd6295da574fa97c1f8"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a1f27fc04bf353dd6295da574fa97c1f8">ShipCAD::SubdivisionFace::getArea</a></div><div class="ttdeci">float getArea() const </div><div class="ttdoc">calculate the area of this face </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00093">subdivface.cpp:93</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a082f81f7a5750f7e53ed5a92ddc82350"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a082f81f7a5750f7e53ed5a92ddc82350">ShipCAD::SubdivisionFace::SubdivisionFace</a></div><div class="ttdeci">SubdivisionFace(SubdivisionSurface *owner)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00060">subdivface.cpp:60</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html">ShipCAD::SubdivisionPoint</a></div><div class="ttdoc">3D Point </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00059">subdivpoint.h:59</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html">ShipCAD::SubdivisionSurface</a></div><div class="ttdoc">Subdivision Surface. </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00103">subdivsurface.h:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a5399f7ec8ed458f6dbc733688c006cf8"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a5399f7ec8ed458f6dbc733688c006cf8">ShipCAD::SubdivisionFace::edgeCheck</a></div><div class="ttdeci">void edgeCheck(SubdivisionPoint *p1, SubdivisionPoint *p2, bool crease, bool controledge, SubdivisionControlCurve *curve, std::vector&lt; SubdivisionEdge * &gt; &amp;interioredges, std::vector&lt; SubdivisionEdge * &gt; &amp;controledges)</div><div class="ttdoc">check for edge between points </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00245">subdivface.cpp:245</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlFace_html_a1e94611e4050ee3b5b5779f087a9ddaf"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlFace.html#a1e94611e4050ee3b5b5779f087a9ddaf">ShipCAD::SubdivisionControlFace::~SubdivisionControlFace</a></div><div class="ttdeci">virtual ~SubdivisionControlFace()</div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00228">subdivface.h:228</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html_a02d048ba8de79787bc692e5f20fd276e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html#a02d048ba8de79787bc692e5f20fd276e">ShipCAD::SubdivisionFace::hasPoint</a></div><div class="ttdeci">bool hasPoint(const SubdivisionPoint *pt) const </div><div class="ttdoc">does the face have this point </div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8cpp_source.html#l00142">subdivface.cpp:142</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
